package tech.ezrealc.fall2023.model.personnel.student;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigInteger;
import java.sql.Date;

@Data
public class StudentDO {

    private BigInteger id;
    private Integer gender;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date birthday;
    private BigInteger schoolId;
    private BigInteger department;
    private BigInteger major;
    private BigInteger classe;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy")
    private Date batch;

}
